/* 图片卡片样式 */
.image-card {
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-preview {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* 任务状态样式 */
.task-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 500;
}

.status-pending {
    background-color: #ffd700;
    color: #000;
}

.status-processing {
    background-color: #87ceeb;
    color: #000;
}

.status-completed {
    background-color: #90ee90;
    color: #000;
}

.status-failed {
    background-color: #ff6b6b;
    color: #fff;
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 